package com.example.dockerfile.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RequestMapping(value = "/users")
@RestController
public class UserController
{

    @GetMapping(value = "/{id}")
    public String findUserById(@PathVariable Long id)
    {
        return "userId: " + id;
    }
}
